# $Id: PKGBUILD 179982 2013-03-13 20:16:54Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=iso-codes
pkgver=3.41
pkgrel=1
pkgdesc="Lists of the country, language, and currency names"
arch=('any')
url="http://pkg-isocodes.alioth.debian.org/"
license=('LGPL')
source=(http://pkg-isocodes.alioth.debian.org/downloads/$pkgname-$pkgver.tar.xz{,.sig})
md5sums=('ee13ecb5c97176c981f996cfd7bce6e8'
         '7883edf85306abaced453204d10c97e9')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" pkgconfigdir=/usr/lib/pkgconfig install
}
